/*
 * MCameraGUI.cpp
 *
 *  Created on: Mar 26, 2013
 *      Author: ohnozzy
 */
#include "MCameraGUI.h"
void flyingcamera::gui::moving::MCameraGUI::getMObstacle(unsigned i, double t, fcl::Box& b, fcl::Transform3f& tf, fcl::Vec3f& c) const{
      b=moving_obstacle[i];
      double x, y ,yaw;
      obstacle_path[i]->getLocation(t, x, y, yaw);
      fcl::Vec3f v(x,y, b.side[2]/2);
      tf.setTranslation(v);
      c=moving_obstacle_color[i];
}



